package cn.bustack.middleware.dynamic.thread.pool.sdk.domain;

import cn.bustack.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/*
* 动态线程池服务
* */
public interface IDynamicThreadPoolService {

    //线程池的集合
    List<ThreadPoolConfigEntity> queryThreadPoolList();

    //通过名字去查询线程池
    ThreadPoolConfigEntity queryThreadPoolConfigByName(String threadPoolName);

    //更新线程池状态
    void updateThreadPoolConfig(ThreadPoolConfigEntity threadPoolConfigEntity);


}
